package de.openkanban.server.service;

import de.openkanban.server.domain.User;
import de.openkanban.shared.util.StatusCodes;

public interface UserService {
	User signUp(User user);

	StatusCodes updateUser(User user);

	StatusCodes updatePassword(Long userId, String oldPassword, String newPassword);

	StatusCodes updateAvatar(Long userId, String avatarUrl);

	boolean logIn(User user);

	StatusCodes addContact(String parentUserId, String eMail);

	StatusCodes removeContact(User user, String eMail);

	User getUser(Long userId);

	User[] getContacts(Long userId);
}
